package tourist.springboot.service;

import tourist.springboot.domain.TouristAttraction;

import java.util.List;

/**
 * TouristAttraction 业务接口层
 *
 * Created by wangzg on 30/09/2017.
 */
public interface TouristAttractionService {

    /**
     * 获取 TouristAttraction
     */
    List<TouristAttraction> findByIds(List<String> ids);
    /**
     * 获取所有 TouristAttraction
     */
    List<TouristAttraction> findAll();

    /**
     * 新增 TouristAttraction
     */
    TouristAttraction insert(TouristAttraction touristAttraction);

    /**
     * 更新 TouristAttraction
     *
     */
    TouristAttraction update(TouristAttraction touristAttraction);

    /**
     * 删除 TouristAttraction
     *
     */
    TouristAttraction delete(String id);

    /**
     * 获取 TouristAttraction
     */
    TouristAttraction findById(String id);
}
